package com.example.personnel_management_system.entity;

public class Institution {
    private Integer iID;

    private String  iName;
    private Integer iParent;
    private Integer iLevel;

    public Institution() {
    }

    public Institution(Integer iID, String iName, Integer iParent, Integer iLevel) {
        this.iID = iID;
        this.iName = iName;
        this.iParent = iParent;
        this.iLevel = iLevel;
    }

    @Override
    public String toString() {
        return "Institution{" +
                "iID=" + iID +
                ", iName='" + iName + '\'' +
                ", iParent=" + iParent +
                ", iLevel=" + iLevel +
                '}';
    }

    public Integer getiID() {
        return iID;
    }

    public void setiID(Integer iID) {
        this.iID = iID;
    }

    public String getiName() {
        return iName;
    }

    public void setiName(String iName) {
        this.iName = iName;
    }

    public Integer getiParent() {
        return iParent;
    }

    public void setiParent(Integer iParent) {
        this.iParent = iParent;
    }

    public Integer getiLevel() {
        return iLevel;
    }

    public void setiLevel(Integer iLevel) {
        this.iLevel = iLevel;
    }
}
